package com.logos.musicframe.req;

import lombok.Data;

import java.io.File;
import java.io.Serializable;
import java.util.Date;

/**
 * 用户信息表(Users)实体类
 *
 * @author rose
 * @since 2025-06-01 21:06:01
 */
@Data
public class UsersReq implements Serializable {
    private static final long serialVersionUID = 878558060318862611L;
    /**
     * 用户ID
     */
    private Integer id;
    /**
     * 用户名
     */
    private String username;
    /**
     * 用户密码
     */
    private String password;
    /**
     * 手机号
     */
    private String phone;
    /**
     * 用户头像URL
     */
    private File avatar;
    /**
     * 验证码
     */
    private String code;
    /**
     * 记录创建时间
     */
    private Date createdAt;
    /**
     * 记录更新时间
     */
    private Date updatedAt;

    /**
     * 个性签名
     */
    private String signature;

    public  UsersReq() {
    }

    public UsersReq(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public UsersReq(String phone, String password,String code) {
        this.phone = phone;
        this.password = password;
        this.code = code;
    }

}

